package com.ee.chat.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.entity.UserRemarkLog;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author AppiJ
 * @since 2020-10-10
 */
public interface IRemarkService {

    /**
     * 获取用户备注列表
     * @Author AppiJ
     * @Date 2020/10/10 0:52
     * @param
     * @return
     */
    Result list(HttpServletRequest request, Integer userId, String time, Integer page, Integer limit) throws Exception;

    /**
     * @Author AppiJ
     * @Date 2020/10/16 22:30
     * @param
     * @return
     */
    Result toEdit(HttpServletRequest request, Integer id) throws Exception;

    /**
     * 保存用户备注记录
     * @Author AppiJ
     * @Date 2020/10/11 10:55
     * @param
     * @return
     */
    Result edit(HttpServletRequest request, UserRemarkLog remarkLog) throws Exception;

    /**
     * @Author AppiJ
     * @Date 2020/10/11 11:02
     * @param
     * @return
     */
    Result del(HttpServletRequest request, List<Integer> ids) throws Exception;

}
